package pojo;

/**
 * Created by zyb on 14-12-11.
 */
public class User {

    Integer id;

    /** 用户名 非空 不重复 */
    String username;

    Integer age;

    /** 男 or 女 */
    String gender;

    String phone;

    public Integer getId() {
        return id;
    }

    public String getUsername() {
        return username;
    }

    public Integer getAge() {
        return age;
    }

    public String getGender() {
        return gender;
    }

    public String getPhone() {
        return phone;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return id + ":" + username;
    }

}
